package com.sherlock.premssion.service.impl;

import com.sherlock.premssion.entity.TestEntity;
import com.sherlock.premssion.repository.TestRepository;
import com.sherlock.premssion.service.TestService;
import com.sherlock.premssion.utils.RUtil;
import com.sherlock.premssion.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * description：
 * author     ：rwj
 * date       ：2021/1/21 10:07
 */
@Service
public class TestImpl implements TestService {
    @Autowired
    TestRepository testRepository;

    @Override
    public TestEntity selectOne(int id) {
        return  testRepository.getOne(id);
    }
}
